#ifndef _GlsxCommon_SafeLock_H_
#define _GlsxCommon_SafeLock_H_

#include "GlsxCommon.h"

BEGIN_GLSX_NAMESPACE

class GlsxCommon_API SafeLock
{
public:
	SafeLock(CRITICAL_SECTION& cs);
	~SafeLock();

private:
	CRITICAL_SECTION& m_cs;
};

END_GLSX_NAMESPACE

#endif